Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Like-R and Like-L operators for Controller::postConditions() #367

Closed
wants to merge 1 commit into from

Conversation

zoghal
Copy link
Contributor

@zoghal zoghal commented Dec 9, 2011

sample :
$conditions = $this->postConditions(
$this->request->data,
array(
'number' => '=',
'far' => 'LIKE-R', // Model.far like $value%
'eng' => 'LIKE-R', // Model.eng like %$value
'sci' => 'LIKE' // Model.sci like %$value%
),'AND',true);

@lorenzo
Copy link
Member

lorenzo commented Dec 9, 2011

thanks, but the method was deprecated and will be removed in the next version :)

@lorenzo lorenzo closed this Dec 9, 2011
@zoghal
Copy link
Contributor Author

zoghal commented May 4, 2013

@lorenzo hi,There are currently postConditions in 2.4. Which version is deleted?
a member of cakephp.ir, this question asked me.

@lorenzo
Copy link
Member

lorenzo commented May 4, 2013

Next version means 3.0... everything in 2.x is backwards compatible

@markstory
Copy link
Member

Yeah I'd rather not improve methods we are just going to take away soon. Thanks for taking the time to try and improve CakePHP :)

@zoghal
Copy link
Contributor Author

zoghal commented May 4, 2013

@markstory Dear Mark, I'm working every day with CakePHP, more than yesterday, I'm sure I did the right choice.
I am very interested and have any kind of cooperation with CakePHP development team. But unfortunately I can not talk good English, but reading is good.
So if I can do any help / task / work. Just tell me.
thanks for any things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants